{extend name="default/base/base_seller" /}
{block name="seller_main"}
<table class="dssc-default-table">
    {notempty name="activity_list"}
    <thead>
    <tr>
        <th class="w90">{$Think.lang.pinjian_activity_theme}</th>
        <th class="w90">{$Think.lang.pinjian_activity_desc}</th>
        <th class="w90">{$Think.lang.pinjian_activity_price}</th>
        <th class="w90">{$Think.lang.pinjian_activity_start}</th>
        <th class="w90">{$Think.lang.pinjian_activity_end}</th>
        <th class="w90">{$Think.lang.pinjian_activity_handle}</th>
    </tr>
    </thead>
    <tbody>
    {foreach name="activity_list" item="v"}
    <tr>
        <td class="w90">{$v.tasting_title}</td>
        <td class="w90">{:empty($v.tasting_desc) ? $Think.lang.pinjian_activity_no_desc : $v.tasting_desc}</td>
        <td class="w90">{$v.tasting_price}</td>
        <td class="goods-time">{:date('Y-m-d',$v.tasting_startdate)}</td>
        <td class="goods-time">{:date('Y-m-d',$v.tasting_enddate)}</td>
        <td class="dscs-table-handle">
            <span>
                <a id="a_{$v.tasting_id}" href="{:url('Sellerpinjian/pinjian_apply',['activity_id'=>$v.tasting_id])}"  class="btn-green"><i class="iconfont">&#xe731;</i>
                    <p>{$Think.lang.store_activity_join}</p>
                </a>
            </span>
        </td>
    </tr>
    {/foreach}
    {else /}
    <tr>
        <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
    </tr>
    {/notempty}
    </tbody>
    <tfoot>
    {notempty name="activity_list"}
    <tr>
        <td colspan="20"><div class="pagination">{$show_page}</div></td>
    </tr>
    {/notempty}
    </tfoot>
</table>
{/block}
